{
  'includes': ['../talk/build/common.gypi'],
  'targets': [
    {
        'target_name': 'TTAVEngineSDK',
        'type' : 'shared_library',
        'dependencies': [
            '<(DEPTH)/talk/libjingle.gyp:libjingle_peerconnection',
            '<(DEPTH)/third_party/jsoncpp/jsoncpp.gyp:jsoncpp',
            '<(webrtc_root)/base/base.gyp:rtc_base',
        ],
       'defines' : [
         'USE_SSL',
       ],
       'conditions': [
        ['OS=="win"', {
          'defines': [
          'TT_AV_ENGINE_SDK_API_EXPORTS',
           ],
        }],
       ['OS=="mac"', {
          'type': 'static_library',
          'xcode_settings': {
             'OTHER_LDFLAGS': [
                 '-framework Foundation -framework AppKit -framework Cocoa -framework OpenGL',
              ],
          },
        }],
       ['OS=="ios"', {
         'type' : 'static_library',
        }],
       ['OS=="android"', {
          'type' : 'shared_library',
          'ldflags' : [ '-fvisibility=hidden', ],
          'sources': [
            #'android/jni/AudioStreamImpl_JNI.cpp',
           ],
        }],
        ],
      'include_dirs': [ 
        '.', 
		'..',
        'interface',
      ],
      'direct_dependent_settings': {
      'include_dirs': [
            '.',
            '..',
            'interface',
      ],
      },
      'sources': [
            # interface
            'interface/avchat_tt_types.h',
            'interface/TTAVEngineSDK.h',
            'interface/Call.h',
            'interface/CallFactory.h',
            'interface/DeviceManager.h',
            'TTAVEngineSDK.cc',
            'CallImpl.h',
            'CallImpl.cc',
            'CallFactoryImpl.h',
            'CallFactoryImpl.cc',
            'DeviceManagerImpl.h',
            'DeviceManagerImpl.cc',
            'VideoRendererAdapter.h',
            'VideoRendererAdapter.cc',
      ], # source
      'msvs_disabled_warnings': [ 4530,4541, ],
    },
  ], # targets
}
